package com.xyht.sca_s.student_manage_system.modules.teachAndStaffCheckInApplication.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_teach_administrative_staff_check_in_application")
@ApiModel(value="SmsTeachAdministrativeStaffCheckInApplication对象", description="")
public class SmsTeachAdministrativeStaffCheckInApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "申请人")
    private String smsApplicantName;

    @ApiModelProperty(value = "申请状态")
    private Integer smsApplicationState;

    @ApiModelProperty(value = "0:女 1男")
    private Integer smsSex;

    @ApiModelProperty(value = "流程结束时间")
    private Date processEndTime;

    @ApiModelProperty(value = "籍贯")
    private String smsNativePlace;

    @ApiModelProperty(value = "房间号")
    private String smsRoomNum;

    @ApiModelProperty(value = "钥匙数量")
    private Integer smsKeyNum;

    @ApiModelProperty(value = "电量底数")
    private String smsElectricityNum;

    @ApiModelProperty(value = "水量底数")
    private String smsWaterNum;

    @ApiModelProperty(value = "移交人")
    private String smsTransferredPerson;

    @ApiModelProperty(value = "提交人")
    private String smsPresentPerson;

    @ApiModelProperty(value = "部门")
    private String smsDepartment;

    @ApiModelProperty(value = "职位")
    private String smsPosition;

    @ApiModelProperty(value = "出生年月")
    private String smsDateOfBirth;

    @ApiModelProperty(value = "身份证号码")
    private String smsIdCard;

    @ApiModelProperty(value = "联系电话")
    private String smsPhone;

    @ApiModelProperty(value = "户籍地址")
    private String smsAddress;

    @ApiModelProperty(value = "申请原因")
    private String smsReasonForApplication;

    @ApiModelProperty(value = "入住承诺")
    private String smsPromisePerson;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
